<@override name="title">用户管理</@override>
<@override name="viewbody">
<div class="row">
    <div class="col-md-12">
        <h3 class="page-title">
            用户管理
            <small>购物中心用户管理.</small>
        </h3>
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <i class="fa fa-home"></i>
                <a href="${ctx}/admin/home">
                    首页
                </a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#"> 用户管理 </a>
            </li>
        </ul>
    </div>
</div>
<div class="row">
    <div class="col-md-12">
        <div class="portlet box light-grey">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-globe"></i>管理员一览表
                </div>
            </div>
            <div class="portlet-body">
                <div class="table-toolbar">
                    <div class="btn-group">
                        <a id="floor_create" href="${ctx}/admin/auth/admin/create" class="btn default green-stripe">
                            新增 <i class="fa fa-plus"></i>
                        </a>
                        <a id="floor_batch_delete" class="btn default yellow-stripe batchdelete"
                           data-action="${ctx}/admin/auth/admin/remove" data-tables="#admin-list"
                           data-message="您确认删除所选择的楼层信息么？">
                            删除 <i class="fa fa-ban"></i>
                        </a>
                    </div>
                    <div class="btn-group pull-right">
                        <button class="btn dropdown-toggle" data-toggle="dropdown">其他 <i class="fa fa-angle-down"></i>
                        </button>
                        <ul class="dropdown-menu pull-right">
                            <li>
                                <a href="#">导出Excel
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
                <table class="table table-striped table-bordered table-hover table-condensed" id="admin-list">
                    <thead>
                    <tr>
                        <th width="30"><input type="checkbox" name="checkall"></th>
                        <th width="30">序号</th>
                        <th>ID</th>
                        <th>账号</th>
                        <th>真实姓名</th>
                        <th>创建时间</th>
                        <th>最后登录时间</th>
                        <th>最后登录ip地址</th>
                        <th>账号角色</th>
                        <th style="text-align: center" width="120">操作</th>
                    </tr>
                    </thead>
                    <tbody>

                    </tbody>
                </table>
            </div>

        </div>
    </div>
</div>
<#--Template-->
<script id="action_template" type="text/x-handlebars-template">
    <a href="${ctx}/admin/auth/admin/edit/{{id}}" class="btn default blue-stripe" title="编辑">
        <i class="fa fa-edit"></i>
    </a>
    <a href="javascript:void(0);" class="btn default yellow-stripe" title="删除" data-hook="remove-action"
       data-action="${ctx}/admin/auth/admin/remove?DATA={{id}}">
        <i class="fa fa-trash-o"></i>
    </a>
</script>
</@override>

<@override name="viewparams">
g.actiontpl = '#action_template';
</@override>

<@override name="viewmodule">auth_admin_list</@override>
<@extends name="../../_basic/main.ftl"></@extends>